package indi.cyh.entity;


import com.alibaba.fastjson2.annotation.JSONField;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * @author CYH
 * @date 2025-02-10  
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table("sql_pub.param")
@Schema(description = "实体类")
public class Param implements Serializable {


	private static final long serialVersionUID =  7173021834888830269L;


	/**
	 * 主键
	 */
	@Schema(description = "主键", example = "")
	@Id(value = "id")
	@JSONField(name = "id",alternateNames = { "id", "id"})
	private String id;

	/**
	 * 参数类别编码
	 */
	@Schema(description = "参数类别编码", example = "")
	@JSONField(name = "code",alternateNames = { "code", "code"})
	private String code;

	/**
	 * 参数名称
	 */
	@Schema(description = "参数名称", example = "")
	@JSONField(name = "name",alternateNames = { "name", "name"})
	private String name;

	/**
	 * 备注
	 */
	@Schema(description = "备注", example = "")
	@JSONField(name = "note",alternateNames = { "note", "note"})
	private String note;

	/**
	 * 使用标志(0是有效、1是无效)
	 */
	@Schema(description = "使用标志(0是有效、1是无效)", example = "")
	@JSONField(name = "state",alternateNames = { "state", "state"})
	private long state;

	/**
	 * 排序
	 */
	@Schema(description = "排序", example = "")
	@JSONField(name = "idx",alternateNames = { "idx", "idx"})
	private long idx;

	/**
	 * 参数值
	 */
	@Schema(description = "参数值", example = "")
	@JSONField(name = "value",alternateNames = { "value", "value"})
	private String value;

}
